package com.jn.rxjava.entity;

import java.util.List;

public class NewsResponse {
    private int code;
    private String msg;
    private Result result;

    // Getters and Setters
    public int getCode() { return code; }
    public void setCode(int code) { this.code = code; }
    public String getMsg() { return msg; }
    public void setMsg(String msg) { this.msg = msg; }
    public Result getResult() { return result; }
    public void setResult(Result result) { this.result = result; }

    public static class Result {
        private int id;
        private String date;
        private List<String> news;
        private String weiyu;
        private String image;
        private String headImage;
        private String createdAt;
        private String updatedAt;

        // Getters and Setters
        public int getId() { return id; }
        public void setId(int id) { this.id = id; }
        public String getDate() { return date; }
        public void setDate(String date) { this.date = date; }
        public List<String> getNews() { return news; }
        public void setNews(List<String> news) { this.news = news; }
        public String getWeiyu() { return weiyu; }
        public void setWeiyu(String weiyu) { this.weiyu = weiyu; }
        public String getImage() { return image; }
        public void setImage(String image) { this.image = image; }
        public String getHeadImage() { return headImage; }
        public void setHeadImage(String headImage) { this.headImage = headImage; }
        public String getCreatedAt() { return createdAt; }
        public void setCreatedAt(String createdAt) { this.createdAt = createdAt; }
        public String getUpdatedAt() { return updatedAt; }
        public void setUpdatedAt(String updatedAt) { this.updatedAt = updatedAt; }
    }
}